import request from '@/utils/request'

export default {


    getAllDepartMent(url,data)
    {
        return request ({
            url: '/api2/api/dict/getChildrenByName',
            method: 'get',
            params:data
        })
    },
    getUserInfo(url,data) {

        return request({
            url:url!=null?url:'/api1/api/getUserInfo',
            methods:'get',
            params:data
        })

    },
    getUnReported() {

        return request({
            url:'/api1/api/getUnReported',
            methods:'get',
        })

    },
    getReported(data) {

        return request({
            url:'/api1/api/getInfoByCondition',
            methods:'get',
            params:data
        })

    }





}
